<template>
  <div>
    <el-button size="medium" @click="cancel">取 消</el-button>
    <el-button v-clickForbidden size="medium" type="primary" @click="submitForm">保 存</el-button>
  </div>
</template>

<script>
export default {
  name: 'Index',
  data() {
    return {

    }
  },
  methods: {
    // 保存
    submitForm() {
      this.$parent.$parent.submitForm()
    },
    // 取消
    cancel() {
      this.$parent.$parent.cancel()
    }
  }
}
</script>

